package com.dinghui.salary.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author tanrentao
 * @date 2021-09-08
 * @desc
 */
@ApiModel(value="请求对象-主键Ids参数对象")
@Data
public class Ids implements Serializable {

    @NotBlank(message = "id不能为空")
    //@NotNull(message = "id不能为空")
    @ApiModelProperty(value = "id" ,required = true)
    private List<String> ids;

}
